package com.yunc.modules.shop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunc.base.SuperMapper;
import com.yunc.modules.shop.entity.ShopOrder;
import com.yunc.modules.shop.entity.dto.ShopOrderDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopOrderMapper extends SuperMapper<ShopOrder> {

    String getMaxOrderNumber(@Param("date") String date);

    List<ShopOrderDTO> selectEntityList(Page<ShopOrderDTO> page, @Param("order") ShopOrder order);
}
